package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * <p>
 * 服务流程表
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
@Data
public class TProcessUpdateParam {

    /**
     * 流程ID
     */
    @NotNull(message = "流程ID不能为空")
    @Min(value = 1, message = "流程ID有误")
    @ApiModelProperty(value = "流程ID",example = "1")
    private Integer processId;

    /**
     * 服务id
     */
    @Min(value = 1, message = "服务ID有误")
    @ApiModelProperty(value = "服务id",example = "1")
    private Integer serviceId;

    /**
     * 服务名
     */
    @Size(min = 0, max = 100, message = "服务名内容大小出错")
    @ApiModelProperty(value = "服务名")
    private String serviceName;


}
